package com.j2009.springbootproject.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: ResponseResult
 * Description:
 * date: 2021/3/19 14:30
 *
 * @author wuyafeng
 * @version 1.0   softeem.com
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseResult {

    private int code;  // layui中 0 正常
    private int  count ;  // 结果集总记录数
    private Object data ;
    private String message;

    public ResponseResult(int code ,String message){
        this.code = code ;
        this.message = message;
    }
}
